//
//  WLDeviceDetailCell.m
//  WanLian
//
//  Created by muzhuang on 2018/11/6.
//  Copyright © 2018年 wanlian. All rights reserved.
//

#import "WLDeviceDetailCell.h"

@implementation WLDeviceDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _labTitle = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16), WLScaleX(14), 90, WLScaleX(30))];
        _labTitle.font = [WLCommonTool fontTypePingFangSCRegular:17];
        _labTitle.textColor = wlBlackColor;
        [self.contentView addSubview:_labTitle];
        
        _labDetail = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16+10)+90, WLScaleX(14), 160, WLScaleX(30))];
        _labDetail.font = [WLCommonTool fontTypePingFangSCRegular:14];
        _labDetail.textColor = wlLightTextColor;
        [self.contentView addSubview:_labDetail];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
